<%--
  Created by IntelliJ IDEA.
  User: q
  Date: 2022/6/8
  Time: 上午 9:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%!
    void show(){}
    //作为成员方法
    String name = "zhangsan";
    // 作为成员变量
    static {
        // 静态代码块
        System.out.println("loading Servlet!");
    }
%>
</body>
</html>
